package com.open.capacity.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @program: open-capacity-platform
 * @description: 简历活动管理实体类
 * @author: bellweather
 * @create: 2021-01-19 16:56
 **/
@Data
public class ResumeActivity {

    @TableId(value="id",type= IdType.ASSIGN_ID)  //雪花算法  id生成策略
    @JsonSerialize(using= ToStringSerializer.class)
    private long id;
    private SysResume resume;
    private Activity activity;
    @TableField("create_time")
    private Date createTime;
}
